<?php
namespace app\index\model;

use think\Model;

class Arts extends Model
{
    public function getArt15($num)
    {
        $res=self::alias('a')->join('__SECTOR__ b ','b.sid= a.sid')->order('top desc,rid desc')->limit($num.",15")->select();
        return $res;
    }
}